<%@page import="systems.ConfigSystem"%>
<%@page import="entities.SiteConfig"%>
<%@page import="systems.AdsSystem"%>
<%@page import="java.util.TreeMap"%>
<%
SiteConfig siteConfig = ConfigSystem.getConfigs();
TreeMap<String, String> check = (TreeMap<String, String>) request.getAttribute("check");
String name = (String) request.getParameter("name");
%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/layouts/header.jsp" />

                <div id="leftSideContent">
                	<section class="block">
                    	<div class="blockContent">
                            <h1 class="title">Experience the ultimate all-in-one website analysis tool for free.</h1>
                            <p><%=siteConfig.getMetaDescription() %></p>
                            <br />
                            <div class="adv">
                        		<%=AdsSystem.getAds468x15() %>
                        	</div>
                            <br />
                            <div class="clearafter searchSection">
                            	<div class="left">
                                	<%=AdsSystem.getAds300x250() %>
                                </div>                                                         
                                <form method="post" action="" class="searchDomain right">
                                	<label>
                                    	<span>Enter a domain name :</span>
                                		<input type="text" name="name" value="<%=name != null ? name : ""%>"/>
                                		<% if (check.get("name") != null) { %>
                                		<span class="error">(<%=check.get("name") %>)</span>
                                		<% } %>
                                    </label>
                                    <div class="domainExample">
                                 	Example :
                                     <%=siteConfig.getListDomainEx() %>
                                 </div>
                                </form>
                            </div>
                        </div>
                        <div class="blockShadow"></div>
                    </section>
                	<section class="block">
                    	<div class="blockContent">
                        	<h3 class="blockHeading"><span>Featured Tool</span></h3>
                        	<div class="adv" style="padding-bottom: 10px;">
                        		<%=AdsSystem.getAds468x15() %>
                        	</div>
                            <ul class="featuredTool">
                            	<li class="clearafter">
                            		<span><img src="http://chart.apis.google.com/chart?chs=115x80&cht=qr&chld=|0&chl=http://epufloor.net" class="left" /></span>
                                    <div class="right">
	                            		<%=AdsSystem.getAds468x60() %>
									</div>
                            	</li>
                            	<li class="clearafter">
                                	<a href="/network-tool"><img src="/images/network.jpg" class="left" /></a>
                                    <div class="right">
                                    	<h3 class="title"><a href="/network-tool">Network Tool</a></h3>
                                        <p>
                                        	Free online network tools, including traceroute, nslookup, whois, Domain Name Server ,ping, and our own Domain Dossier and Email Dossier. Some source code included.
										</p>
                                    </div>
                                </li>
                                <li class="clearafter">
                                	<a href="/check-pr"><img src="/images/google-pagerank.jpg" class="left" /></a>
                                    <div class="right">
                                    	<h3 class="title"><a href="/check-pr">Check Pagerank</a></h3>
                                        <p>
                                        	A PageRank results from a mathematical algorithm based on the webgraph, created by all World Wide Web pages as nodes and hyperlinks as edges, taking into consideration authority hubs such as cnn.com or usa.gov 
										</p>
                                    </div>
                                </li>
                                <li class="clearafter">
                                	<a href="/myip"><img src="/images/myip.jpg" class="left" /></a>
                                    <div class="right">
                                    	<h3 class="title"><a href="/myip">My IP</a></h3>
                                        <p>
                                        	View your ip address which you used and view location on google map from you ip address. 
										</p>
                                    </div>
                                </li>
                            </ul>
                        </div>
                        <div class="blockShadow"></div>
                    </section>
                </div>
                
                <!-- right content -->
                <jsp:include page="/elements/right.jsp" />
                <!-- end right content -->
                
<jsp:include page="/layouts/footer.jsp" />